package transfer;

import java.util.ArrayList;
import pojo.ChessOnlineRoom;

public class LeagueRoomData extends Data {
	private static final long serialVersionUID = -389756243096323206L;
	int leagueId;
	//UserAccount acc;
	ArrayList<ChessOnlineRoom> rooms;
	public LeagueRoomData(String header, int leagueId, ArrayList<ChessOnlineRoom> rooms) {
		super(header);
		this.rooms = rooms;
		this.leagueId = leagueId;
	}
	public ArrayList<ChessOnlineRoom> getRooms() {
		return rooms;
	}
	public void setRooms(ArrayList<ChessOnlineRoom> rooms) {
		this.rooms = rooms;
	}
	public int getLeagueId() {
		return leagueId;
	}
	public void setLeagueId(int leagueId) {
		this.leagueId = leagueId;
	}
}
